package com.wimcorp.magic.dataloader.client;

import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.wimcorp.magic.dataloader.dto.CardDTO;
import com.wimcorp.magic.dataloader.dto.DeckDTO;

/**
 * The client-side stub for the RPC service.
 */
@RemoteServiceRelativePath("load")
public interface DataService extends RemoteService {
	//String greetServer(String name) throws IllegalArgumentException;

	CardDTO loadCard(long multiverseid);
	
	List<DeckDTO> getDeckNames();
	
	List<CardDTO> getCards(String code);
	
	void saveCard(CardDTO card);
	
}
